package com.p2p.model.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 *
 * </p>
 *
 * @author 罗永东
 * @since 2023-12-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Logininfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String phone;

    private String password;

    @TableField(value = "state")
    private Integer state;

    @TableLogic
    @TableField(value = "is_deleted")
    private Integer isDeleted;

}
